//
//  y_HotCarCellData.m
//  CarWorld
//
//  Created by yuyu on 15/3/25.
//  Copyright (c) 2015年 CarWorldTeam. All rights reserved.
//

#import "y_HotCarCellData.h"

@implementation y_HotCarCellData
- (void)dealloc
{
    [_LOGO release];
    [_MODEL_ID release];
    [_MODEL_NAME release];
    [_PL release];
    [_REF_PRICE release];
    [_image release];
    [super dealloc];
}

- (void)setValue:(id)value forKey:(NSString *)key
{
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"LOGO"]) {
        [ImageDownloader imageDownloaderWithURLString:value delegate:self tag:0];
    }
}


- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}

- (void)imageDownloader:(ImageDownloader *)imageDowndloader didiFinshLoadImage:(UIImage *)image
{
    self.image = image;
}

@end
